<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isErrorPage="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Show Error Page</title>
</head>
<body>
<center>
<table width="1200px" border=1 cellpadding="0" cellspacing="0">
	<tr>
		<td valign="top" width="200px">
		<!-- START RIGHT MENU PAGE -->
		<%@include file="rightMenu.jsp" %>
		<!-- END RIGHT MENU PAGE -->
		</td>
		<td valign="top" width="1000px">
		<!-- START CONTENT PAGE -->
<h1>Opps...</h1>
<table border="0">
	<tr valign="top">
		<td width="40%"><b>Error:</b></td>
		<td>${pageContext.exception}</td>
	</tr>
	<tr valign="top">
		<td width="40%"><b>Cause:</b></td>
		<td>${pageContext.exception.cause}</td>
	</tr>
	<tr valign="top">
		<td><b>URI:</b></td>
		<td>${pageContext.errorData.requestURI}</td>
	</tr>
	<tr valign="top">
		<td><b>Status code:</b></td>
		<td>${pageContext.errorData.statusCode}</td>
	</tr>
	<tr valign="top">
		<td><b>Stack trace:</b></td>
		<td>
		<c:forEach var="trace" 
		         items="${pageContext.exception.stackTrace}">
		${trace}<br>
		</c:forEach>
		</td>
	</tr>
	<tr valign="top">
		<td><b>Cause Stack trace:</b></td>
		<td>
		<c:forEach var="trace" 
		         items="${pageContext.exception.cause.stackTrace}">
		${trace}<br>
		</c:forEach>
		</td>
	</tr>
</table>
		<!-- END CONTENT PAGE -->
		</td>
	</tr>
</table>
</center>
</body>
</html>